package com.project.service.impl;

import com.project.bean.ThemeBean;
import com.project.mapper.IThemeMapper;
import com.project.service.IThemeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author lyl
 * description:主贴板块业务实现类
 */
@Service
@Transactional
public class ThemeServiceImpl implements IThemeService {
    @Autowired
    private IThemeMapper iThemeMapper;

    @Override
    public List<ThemeBean> showAllTheme() {
        return iThemeMapper.showAllTheme();
    }
}
